<template>
  <div id="app">
    <router-view></router-view>
    <MainTabBar></MainTabBar>
  </div>
</template>

<script>
  import MainTabBar from 'components/MainTabBar/MainTabBar'
export default {
  name: 'app',
  components: {
    MainTabBar
  },
  created(){
    this.$store.dispatch('initUserInfo')
  }
}
</script>

<style>
  @import "assets/css/base.css";
  #app {
    position: relative;
  }
</style>
